package com.co.video.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author ldl.plus
 * @date 2020年06月22日  0:41
 * TvVideoState构建
 */
@Table(name = "tv_videoState")
public class VideoState implements Serializable {

    @Id
    @Column(name = "id")
    private String id;//主键

    @Column(name = "aid")
    private String aid;//视频表id

    @Column(name = "view")
    private Integer view;//观看次数

    @Column(name = "reply")
    private Integer reply;//回复

    @Column(name = "danmaku")
    private Integer danmaku;//弹幕数量

    @Column(name = "favorite")
    private Integer favorite;//收藏数量

    @Column(name = "likes")
    private Integer like;//点赞数量

    @Column(name = "dislike")
    private Integer dislike;//踩数量（不喜欢）

    @Column(name = "now_rank")
    private Integer nowRank;//现在排行

    @Column(name = "his_rank")
    private Integer hisRank;//历史排行

    @Column(name = "share")
    private Integer share;//分享数量

    @Column(name = "create_time")
    private Date createTime;//创建时间

    @Column(name = "update_time")
    private Date updateTime;//修改时间


    //get方法
    public String getId() {
        return id;
    }

    //set方法
    public void setId(String id) {
        this.id = id;
    }

    //get方法
    public String getAid() {
        return aid;
    }

    //set方法
    public void setAid(String aid) {
        this.aid = aid;
    }

    //get方法
    public Integer getView() {
        return view;
    }

    //set方法
    public void setView(Integer view) {
        this.view = view;
    }

    //get方法
    public Integer getReply() {
        return reply;
    }

    //set方法
    public void setReply(Integer reply) {
        this.reply = reply;
    }

    //get方法
    public Integer getDanmaku() {
        return danmaku;
    }

    //set方法
    public void setDanmaku(Integer danmaku) {
        this.danmaku = danmaku;
    }

    //get方法
    public Integer getFavorite() {
        return favorite;
    }

    //set方法
    public void setFavorite(Integer favorite) {
        this.favorite = favorite;
    }

    //get方法
    public Integer getLike() {
        return like;
    }

    //set方法
    public void setLike(Integer like) {
        this.like = like;
    }

    //get方法
    public Integer getDislike() {
        return dislike;
    }

    //set方法
    public void setDislike(Integer dislike) {
        this.dislike = dislike;
    }

    //get方法
    public Integer getNowRank() {
        return nowRank;
    }

    //set方法
    public void setNowRank(Integer nowRank) {
        this.nowRank = nowRank;
    }

    //get方法
    public Integer getHisRank() {
        return hisRank;
    }

    //set方法
    public void setHisRank(Integer hisRank) {
        this.hisRank = hisRank;
    }

    //get方法
    public Integer getShare() {
        return share;
    }

    //set方法
    public void setShare(Integer share) {
        this.share = share;
    }

    //get方法
    public Date getCreateTime() {
        return createTime;
    }

    //set方法
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    //get方法
    public Date getUpdateTime() {
        return updateTime;
    }

    //set方法
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


}
